package com.ruoyi.web.controller.meterread;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.vo.WaterUserMeterVO;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Administrator
 * @description 用水量分析
 * @data 2025/9/19 10:38
 */
@RestController
@RequestMapping("/meterread/waterAnalysis")
public class WaterAnalysisController extends BaseController {

    /**
     * 查询用户用水量
     */
    @PreAuthorize("@ss.hasPermi('meterread:waterAnalysis:list')")
    @GetMapping("/list")
    public TableDataInfo list(WaterUserMeterVO userMeterVO)
    {
        startPage();
        List<WaterUserMeterVO> list = new ArrayList<>();
        return getDataTable(list);
    }
}
